﻿using Order.Domain.Base;
using Order.Domain.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Order.Domain.OrderDomain
{
    /// <summary>
    /// 问诊订单实体
    /// </summary>
    [Table("InterrogationOrder")]
    public class InterrogationOrder : BaseEntity
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string? OrderNo { get; set; }

        /// <summary>
        /// 订单类型
        /// </summary>
        public OrderSourceEnum? OrderType { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public InterrogationTypeEnum? Status { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        public PaymentTypeEnum? PaymentMethod { get; set; }

        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? PaymentTime { get; set; }

        /// <summary>
        /// 患者Id
        /// </summary>
        public int? PatientId { get; set; }

        /// <summary>
        /// 退诊原因
        /// </summary>
        public int? WithdrawnCause { get; set; }
    }
}
